<?php echo validation_errors(); ?>
<?php echo form_open('viability/evaluate'); ?>
	<?php for ($i = 0; $i < count($characteristics); $i++) {
		$c = $characteristics[$i]; ?>
		<label><?php echo ($i+1).". ".$c->denomination ?></label><br/>
		<?php for ($j = 0; $j < count($c->options); $j++) {?>
			<input type="radio" name="<?php echo $c->id ?>" value="<?php echo $j?>"><?php echo $c->options[$j]?></input><br/>
		<?php } ?>
	<?php } ?>
	<input type="submit" name="submit" value="Evaluate viability"/>
</form>
